import {http} from "@/utils/http";

export const pageFeedback = (data) => {
  return http({
    url: `/page/feedback.json?pageSize=10000&paged=1`,
    method: 'POST',
    data:data
  })
}
export const saveFeedback = (data) => {
  return http({
    url: `/feedback.json`,
    method: 'POST',
    data:data
  })
}
export const getFeedback = (id) => {
  return http({
    url: `/feedback.json?id=${id}`,
    method: 'GET'
  })
}
export const removeFeedback = (id) => {
  return http({
    url: `/feedback.json?id=${id}`,
    method: 'DELETE'
  })
}
